﻿@model IceTea.Domain.Models.User

@if (HttpContext.Current.User.Identity.IsAuthenticated)
{
    <li class="dropdown">
        <a class="dropdown-toggle" href="#" data-toggle="dropdown">
            @Model.FullName [@Model.Title]<span class="caret"></span></a>
        
        <ul class="dropdown-menu">
            <li class="text-info">@Html.ActionLink("Log off", "LogOff", "Account")</li>
        </ul>
    </li>
}
else
{
    <li> @Html.ActionLink("Log in", "Login", "Account")</li>
}